require 'open-uri'

module NET

  def open_url(url)
    open(url) do |http|
      yield(http.read)
    end
  end

end
